package com.AuthServer.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("perm")
public class Perm implements Serializable {
    @TableId(value = "p_id",type = IdType.AUTO)
    private Integer pId;
    @TableField("perm_id")
    private Integer permId;
    @TableField("perm_target")
    private String permTarget;
    @TableField("perm_detail")
    private String permDetail;
    @TableField("available")
    private Integer available;
    @Version
    @TableField("version")
    private Integer version;
}
